### File    : 02_replicate_analyses.R
##  Author  : Tara Slough
##  Notes   : Replication materials for Slough, York, and Ting -
#             A Dynamic Model of Primaries - empirics
#             R version 3.5.2 (2018-12-20); Loaded package versions: gridExtra_2.3, bindrcpp_0.2.2,
#             RColorBrewer_1.1-2, ggplot2_3.1.0, xtable_1.8-3, stargazer_5.2.2, dplyr_0.7.8 
#             plyr_1.8.4, beepr_1.3  

rm(list = ls())

# SET WORKING DIRECTORY TO REPLICATION FOLDER
# replace ... with your file path
setwd("~/.../DP_Replication/")

# Before evaluating, create a folder called "Output" in the DP_Replication directory
# to which graphs and figures will be saved.
source("03_replication_empirics.R")